<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>权限绑定</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../../../elementUI/index.css">
  <link rel="stylesheet" href="../../../css/index.css">
</head>

<body>
  <div id="app" class="minWidth">
    <el-form :model="form" ref="contract" inline-message="true" style="width: 100%">
      <div class="table_titel">
        <div class="titel">权限绑定</div>
      </div>
      <div style="margin-bottom: 100px;">
        <el-tree :data="menuList" ref="tree" show-checkbox node-key="Model_Number" check-on-click-node default-expand-all
          :expand-on-click-node="false" @check-change="handleCheckChange" check-strictly>
          <template v-slot="{data}">
            <span :style="data.Model_Number.length==5?'color:rgb(196, 81, 46)':''">{{data.Model_Name}}</span>
          </template>
        </el-tree>
      </div>
      <el-form-item class="form-operation">
        <el-button @click="window.history.back()">返回</el-button>
        <el-button type="primary" :loading="loading" @click="submitForm('contract')">提交</el-button>
      </el-form-item>
    </el-form>
  </div>
  <script type="text/javascript" src="../../../js/jquery-3.6.0.min.js"></script>
  <script type="text/javascript" src="../../../js/jquery.cookie.js"></script>
  <script type="text/javascript" src="../../../js/vue.min.js"></script>
  <script type="text/javascript" src="../../../elementUI/index.js"></script>
  <script type="text/javascript" src="../../../js/utils.js"></script>
  <script type="text/javascript" src="../../../js/ID_Validity.js"></script>
  <script type="text/javascript" src="./js/Menu.js"></script>
</body>

</html>